package com.jiuyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiuyi.entity.Employee;
import com.jiuyi.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * DATA: 2022/10/21
 * Author: 晨夕
 */
@Mapper
public interface SetmealDishMapper extends BaseMapper<SetmealDish> {
    //根据id查询套餐菜品集合
    List<SetmealDish> selectDishById(@Param("id") Long id);
    //根据套餐id删除套餐菜品
    void deleteBySetmealId(@Param("id")Long id);
    //根据setmealId查询id
    List<Long> selectBySetMealId(@Param("id")Long id);
}
